#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */

	int old_val;
	char *expression;

} WP;

WP *new_wp();
bool free_wp(WP *wp);
WP *delete_wp(int NO);
bool check_point(WP *wp);
bool check_pool();
bool display_point(WP *wp);
void display_pool();

#endif
